﻿@model CloudFranceTriple.Models.ForumTopicSet

@{
    ViewBag.Title = CloudFranceTriple.WebRole.Properties.Resources.TopicDeleteTitle;
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="content-padding">
    <h1>@CloudFranceTriple.WebRole.Properties.Resources.QuestionDelete</h1>
    <section>
        <fieldset>
            <legend>@CloudFranceTriple.WebRole.Properties.Resources.TopicDeleteTitle</legend>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.CategoryLabel
            </div>
            <div class="display-field">
                @Html.DisplayTextFor(model => model.ForumCategorySet.LabelForumCategory)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.TopicLabel
            </div>
            <div class="display-field">
                @Html.DisplayTextFor(model => model.LabelForumTopic)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.TopicIsUnlocked
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.IsUnlocked)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.TopicAutor
            </div>
            <div class="display-field">
                @Html.DisplayTextFor(model => model.AuthorForumTopic)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.TopicCreationDate
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.CreationDateForumTopic, "TemplateUserDateTime")
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.TopicNumberHasBeenSeen
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.NumberHasBeenSeenForumTopic)
            </div>

        </fieldset>
        @using (Html.BeginForm())
        {
            @Html.AntiForgeryToken()
            <p>
                <input type="submit" value="@CloudFranceTriple.WebRole.Properties.Resources.ButtonDelete" />
            </p>
        }
        @Html.Partial("_BackToTopicByCategoryList")
    </section>
</div>
